package cn.dengta.webapp.trade.entity;

import java.math.BigDecimal;
import java.util.Date;

import cn.dengta.webapp.base.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
* 用户积分每日汇总
* @author lizhichao
* @since 2024-01-03
*/
@Setter
@Getter
public class UserIntegralDailyStat extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/** 用户ID */
	Integer userId;
	/** 统计日期 */
	Date date;
	/** 文字收益 */
	BigDecimal textIncome;
	/** 礼物收益 */
	BigDecimal giftIncome;
	/** 视频收益 */
	BigDecimal videoIncome;
	/** 语音收益 */
	BigDecimal audioIncome;
	/** 新增时间 */
	Date addTime;
	/** 更新时间 */
	Date updateTime;


	public static final String USER_ID = "user_id";
	public static final String DATE = "date";
	public static final String TEXT_INCOME = "text_income";
	public static final String GIFT_INCOME = "gift_income";
	public static final String VIDEO_INCOME = "video_income";
	public static final String AUDIO_INCOME = "audio_income";
	public static final String ADD_TIME = "add_time";
	public static final String UPDATE_TIME = "update_time";
}
